home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / LAboutBox (PP) / LAboutBox.sit / LAboutBox / LAboutBox.h < prev    next >
Text File  |  1995-08-23  |  2KB  |  42 lines

  1. // ===========================================================================
  2. //    LAboutBox.h                ⌐ 1995, âric Forget. All rights reserved.
  3. // ===========================================================================
  4. //    
  5. //    ************************************************************************
  6. //    *                                                                      *
  7. //    *    Before using this code you should read the "License Agreement"     *
  8. //    *    document and agree with it.                                        *
  9. //    *                                                                      *
  10. //    ************************************************************************
  11. //
  12. //    Instruction and usage notes are in the LAboutBox.cp file.
  13. //
  14. // ---------------------------------------------------------------------------
  15.  
  16.  
  17. #pragma once
  18.  
  19.  
  20. #include    "LDialogBox.h"
  21.  
  22.  
  23. // ---------------------------------------------------------------------------
  24. //        Ñ Classe LAboutBox
  25. // ---------------------------------------------------------------------------
  26.  
  27. class    LAboutBox :     public LDialogBox {
  28. public:
  29.     enum { class_ID = 'AbBo' };
  30.     
  31.     static void                DoAboutBox(ResIDT inResID);
  32.     static LAboutBox*        CreateAboutBoxStream(LStream *inStream);
  33.  
  34.                             LAboutBox();
  35.                             LAboutBox(SWindowInfo &inWindowInfo);
  36.                             LAboutBox(ResIDT inWINDid, Uint32 inAttributes,
  37.                                     LCommander *inSuperCommander);
  38.                             LAboutBox(LStream *inStream);
  39.     
  40.     virtual void            HandleClick(const EventRecord &inMacEvent, Int16 inPart);
  41.     virtual Boolean            HandleKeyPress(const EventRecord &inKeyEvent);
  42. };